package com.hss01248.dialog.interfaces;

import ohos.agp.window.dialog.CommonDialog;

import com.hss01248.dialog.config.ConfigBean;

import java.util.Map;

/**
 * Created by Administrator on 2016/10/10.
 */
public interface Styleable {

    ConfigBean setBtnColor( int btn1Color, int btn2Color, int btn3Color);

    ConfigBean setListItemColor( int lvItemTxtColor, Map<Integer, Integer> colorOfPosition);

    ConfigBean setTitleColor( int colorRes);
    ConfigBean setMsgColor( int colorRes);
    ConfigBean seInputColor( int colorRes);
    ConfigBean setTitleSize(int sizeInSp);
    ConfigBean setMsgSize(int sizeInSp);
    ConfigBean setBtnSize(int sizeInSp);
    ConfigBean setLvItemSize(int sizeInSp);
    ConfigBean setInputSize(int sizeInSp);

    CommonDialog show();

    //内容设置
    ConfigBean setBtnText(CharSequence btn1Text,  CharSequence btn2Text,  CharSequence btn3Text);

    ConfigBean setBtnText(CharSequence positiveTxt,  CharSequence negtiveText);
    ConfigBean setBtnText(CharSequence positiveTxt);

    ConfigBean setListener(MyDialogListener listener);



    ConfigBean setCancelable(boolean cancelable, boolean outsideCancelable);







}
